package com.yxw.yx_hotel.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author liuxin
 * @date 2024.01.22
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="PayStayInMoneyDto", description="在住押金缴纳Dto")
public class PayStayInMoneyDto implements Serializable {

    @NotNull(message = "在住名单ID不能为空")
    @ApiModelProperty(value = "在住名单ID")
    private Long stayIdId;

    @NotNull(message = "押金不能为空")
    @ApiModelProperty(value = "押金")
    private Double money;
}
